package com.itheima.homework.Text6;

public class BaseTeach extends Teach {
    public BaseTeach(String name, int age) {
        super(name, age);
    }

    @Override
    public void teach() {
        System.out.println("基础班老师讲JavaSE");
    }
}
